CREATE TABLE [dbo].[TTTIPO_CNBA]
(
[CO_TIPO_CNTA] [dbo].[TD_VC_003] NOT NULL,
[DE_TIPO_CNTA] [dbo].[TD_VC_050] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTTIPO_CN__CO_US__1FEDB87C] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTTIPO_CN__FE_US__20E1DCB5] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTTIPO_CN__CO_US__21D600EE] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTTIPO_CN__FE_US__22CA2527] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTTIPO_CNBA] ADD CONSTRAINT [PK__TTTIPO_C__91148A7503DB89B3] PRIMARY KEY CLUSTERED  ([CO_TIPO_CNTA]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTTIPO_CNBA] TO [public]
GRANT INSERT ON  [dbo].[TTTIPO_CNBA] TO [public]
GRANT DELETE ON  [dbo].[TTTIPO_CNBA] TO [public]
GRANT UPDATE ON  [dbo].[TTTIPO_CNBA] TO [public]
GO
